package demo4;

/**
 * @program: java-generic
 * @description:
 * @author: bjc
 * @create: 2021-08-15 15:19
 */
public class Main {

    public static void main(String[] args) {
        Apple apple = new Apple();
        System.out.println(apple.getKey());

        Pair<String, Integer> pair = new Pair<String, Integer>("张三",20);
        System.out.println(pair.getKey()+pair.getValue());

    }
}
